<div class="row">
	<div class="hero-unit diavolo arrondi">
    	<div class="page-header">
    	     <h1>Consulter un journal : </h1>
    	</div>
    	
	<c:set var="emptyList" value="true" scope="page"/>
	
	<table class="tableStyle"> 
  		<c:forEach var="partie" items="${parties}">
  		<c:url var="urlJournal" value="consulterJournal.html?partie_id=${partie.id}" />
			<c:set var="emptyList" value="false" scope="page"/>
  			<tr> 
 				<td> 
 					<a href="${urlJournal}">${partie.nom}</a> 
				</td> 				
			</tr>
		</c:forEach>
	</table>
		<c:if test="${emptyList}">
			<li>
				Aucune partie
			</li>
		</c:if>
	</div>
</div>
